POV-Ray : Newsgroups : povray.newusers : usage of #declare : usage of #declare Server Time
29 Jul 2024 00:32:36 EDT (-0400)
  usage of #declare  
From: dabbler
Date: 4 Jun 2007 22:15:01
Message: <web.4664c4dcbdd8b0ac38f605ab0@news.povray.org>
can anyone tell me why this does not work: (the #declare line gets the
yellow overlay)

#declare SourceImage = "F:\apps\POV-Ray for Windows
v3.6\hfields\HF101SizeMaters44.png";

height_field {
  png SourceImage
  translate -0.5
  scale <52,12,52>
  pigment{color rgb <1,1,0> }
}

but this does:

height_field {
  png "F:\apps\POV-Ray for Windows v3.6\hfields\HF101SizeMaters44.png"

  translate -0.5
  scale <52,12,52>
  pigment{color rgb <1,1,0> }
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.